package com.xq.staticmethod;

public class Student {
    public  static void print(){
        System.out.println("hello world");
        System.out.println("hello world");
        System.out.println("hello world");
    }

    private double score;
    public void setScore(double score){
        this.score = score;
    }
    public void print2(){
        System.out.println(score >= 60 ? "通过" : "未通过" );
    }
}
